diff options
| author | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-10-29 07:46:57 +0000 |
|---|---|---|
| committer | dujinkim <dujin.kim@dtsolution.co.kr> | 2025-10-29 07:46:57 +0000 |
| commit | bbc3094e932e3d193d3223448c789461f4afc058 (patch) | |
| tree | f28dd034b191ca78d0af15eccbbdf7a952141153 /app/api/data-room/[projectId]/[fileId]/route.ts | |
| parent | d28c43b2d33bac51c69ac7417a14f9fe83f2a25f (diff) | |
(대표님) 데이터룸 관련 변경사항
Diffstat (limited to 'app/api/data-room/[projectId]/[fileId]/route.ts')
| -rw-r--r-- | app/api/data-room/[projectId]/[fileId]/route.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/api/data-room/[projectId]/[fileId]/route.ts b/app/api/data-room/[projectId]/[fileId]/route.ts index 9ee01eb2..5e6d5088 100644 --- a/app/api/data-room/[projectId]/[fileId]/route.ts +++ b/app/api/data-room/[projectId]/[fileId]/route.ts @@ -21,7 +21,7 @@ export async function GET( } const context: FileAccessContext = { - userId: session.user.id, + userId: Number(session.user.id), userDomain: session.user.domain || 'partners', userEmail: session.user.email, ipAddress: request.ip || request.headers.get('x-forwarded-for') || undefined, @@ -201,7 +201,7 @@ export async function PATCH( projectId, action, actionDetails, - userId: session.user.id, + userId: Number(session.user.id), userEmail: session.user.email, userDomain: session.user.domain, }); |
